#include <REGX52.H>
#include <INTRINS.H>
#include "Delay.h"
#include "Nixie.h"
#include "Key.h"
#include "Beep.h"




unsigned char KeyNum = 0;

void main()
{
	P0 = 0x0;
	
	while(1)
	{
		KeyNum = Key();
		if(KeyNum){
			Nixie(1, KeyNum);
			
			Beep_Time(100);
		}
	}
}
